package com.ugtss.busniess.service.impl;

import com.ugtss.busniess.domain.dto.RecruitDto;
import com.ugtss.busniess.mapper.RecruitMapper;
import com.ugtss.busniess.service.RecruitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class RecruitServiceImpl implements RecruitService {


    @Autowired
    private RecruitMapper recruitMapper;


    @Override
    public void insertRecruit(RecruitDto dto) {
        recruitMapper.insertData(dto);
    }

    @Override
    public void updateRecruit(RecruitDto dto) {
        recruitMapper.updateData(dto);
    }

    @Override
    public void deleteRecruit(Integer id) {
        recruitMapper.deleteRecruit(id);
    }


}
